package com.ruoyi.web.controller.mall.mallInvoiceUser.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 用户发票抬头信息对象 mall_invoice_user
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class MallInvoiceUser //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户发票抬头id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 税号 */
    @Excel(name = "税号")
    private String taxNum;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String address;

    /** 开户行名称 */
    @Excel(name = "开户行名称")
    private String bankName;

    /** 开户行账号 */
    @Excel(name = "开户行账号")
    private String bankCard;

    /** 0正常1默认 */
    @Excel(name = "0正常1默认")
    private Integer idDefault;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date caAt;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upAt;

    /** 0默认1删除 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setTaxNum(String taxNum) 
    {
        this.taxNum = taxNum;
    }

    public String getTaxNum() 
    {
        return taxNum;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankCard(String bankCard) 
    {
        this.bankCard = bankCard;
    }

    public String getBankCard() 
    {
        return bankCard;
    }
    public void setIdDefault(Integer idDefault) 
    {
        this.idDefault = idDefault;
    }

    public Integer getIdDefault() 
    {
        return idDefault;
    }
    public void setCaAt(Date caAt) 
    {
        this.caAt = caAt;
    }

    public Date getCaAt() 
    {
        return caAt;
    }
    public void setUpAt(Date upAt) 
    {
        this.upAt = upAt;
    }

    public Date getUpAt() 
    {
        return upAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("companyName", getCompanyName())
            .append("taxNum", getTaxNum())
            .append("address", getAddress())
            .append("bankName", getBankName())
            .append("bankCard", getBankCard())
            .append("idDefault", getIdDefault())
            .append("caAt", getCaAt())
            .append("upAt", getUpAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
